<?php

namespace App\Services\Api;

/**
 * 用户登录接口
 */
class YH10003
{
    public $apiCode = 'YH#10003';

    public function getInitPostData($postData)
    {
        return [
            'phone' => $postData['phone'],
            'pwd' => hash('sha256', $postData['pwd']),
        ];
    }

    public function getInitApiCode()
    {
        return $this->apiCode;
    }

}
